package chapter4;
import java.util.Scanner;
/****************************************************************
 * Author：icynlau
 * Description:  给出字符对应的Unicode编码
 * Date:2021/4/2
 * ***************************************************************
 */
public class exc4_9 {
	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		System.out.print("Enter a character : ");
		String s=input.next();
		char ch=s.charAt(0);
		int digit=(int)ch;
		System.out.printf("The Unicode for the character %c is %d .",ch, digit);
		
		
	}

}
